Espressif Systems /ESP32-H2 /MCPWM0 /CARRIER2_CFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CARRIER2_CFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (CHOPPER2_EN)CHOPPER2_EN 0CHOPPER2_PRESCALE 0CHOPPER2_DUTY 0CHOPPER2_OSHTWTH 0 (CHOPPER2_OUT_INVERT)CHOPPER2_OUT_INVERT 0 (CHOPPER2_IN_INVERT)CHOPPER2_IN_INVERT

Description

Carrier enable and configuratoin

Fields

CHOPPER2_EN

When set, carrier2 function is enabled. When cleared, carrier2 is bypassed

CHOPPER2_PRESCALE

PWM carrier2 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)

CHOPPER2_DUTY

carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8

CHOPPER2_OSHTWTH

width of the first pulse in number of periods of the carrier

CHOPPER2_OUT_INVERT

when set, invert the output of PWM2A and PWM2B for this submodule

CHOPPER2_IN_INVERT

when set, invert the input of PWM2A and PWM2B for this submodule

Links

() ()